﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AutoRetailsDLL.Workers.TianMao
{
    public class TianMaoAddGoodModel_In
    {
        /// <summary>
        /// 商品标题
        /// </summary>
        public string onlineGoodsTitle { get; set; }
        /// <summary>
        /// 品牌
        /// </summary>
        public string brand { get; set; }
        /// <summary>
        /// 适用品牌
        /// </summary>
        public string platformBrand { get; set; }
        /// <summary>
        /// 适用型号
        /// </summary>
        public List<Modelcode> modelCode { get; set; } = new List<Modelcode>();
        /// <summary>
        /// 保护套质地
        /// </summary>
        public string goodsTexture { get; set; }
        /// <summary>
        /// 款式
        /// </summary>
        public string goodsDesign { get; set; }
        /// <summary>
        /// 流行元素
        /// </summary>
        public string fashionElement { get; set; }
        /// <summary>
        /// 是否可降解
        /// </summary>
        public string isBiodegradable { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string productionCompany { get; set; }
        /// <summary>
        /// 是否使用环保材质
        /// </summary>
        public string isHuanBao { get; set; }
        /// <summary>
        /// 功能
        /// </summary>
        public string function { get; set; }
        /// <summary>
        /// 厚度
        /// </summary>
        public string thickness { get; set; }
        /// <summary>
        /// 是否支持5G
        /// </summary>
        public string is5G { get; set; }
        /// <summary>
        /// 风格
        /// </summary>
        public string goodsStyle { get; set; }
        /// <summary>
        /// 商品参考价
        /// </summary>
        public string goodsReferencePrice { get; set; }
        /// <summary>
        /// 满减折扣
        /// </summary>
        public string fullDiscount { get; set; }
        /// <summary>
        /// 发货时间（24/48小时）
        /// </summary>
        public string shipmentTime { get; set; }
        /// <summary>
        /// 七天无理由退货，1支持，0不支持
        /// </summary>
        public int supply7DayReturn { get; set; }
        /// <summary>
        /// 是否草稿
        /// </summary>
        public int isDraft { get; set; }
        /// <summary>
        /// 规格类型（型号-颜色）
        /// </summary>
        public string specifications { get; set; }
        /// <summary>
        /// 商家编码
        /// </summary>
        public string businessCode { get; set; }
        /// <summary>
        /// 条形码
        /// </summary>
        public string barCode { get; set; }
        /// <summary>
        /// 物流体积
        /// </summary>
        public string volume { get; set; }
        /// <summary>
        /// 物流重量
        /// </summary>
        public string weight { get; set; }
        /// <summary>
        /// 大陆及港澳台
        /// </summary>
        public string DLJGAT { get; set; }
        /// <summary>
        /// 其他国家或地区
        /// </summary>
        public string QTGJHDQ { get; set; }
        /// <summary>
        /// 邮寄
        /// </summary>
        public string mail { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string discription { get; set; }
        /// <summary>
        /// 规格1
        /// </summary>
        public List<string> spec1 { get; set; } = new List<string>();
        /// <summary>
        /// 规格1
        /// </summary>
        public List<string> spec2 { get; set; } = new List<string>();
        public string shopUid { get; set; }
        public Otherinfo otherInfo { get; set; }
        public string outGoodsSn { get; set; }
        public string spuId { get; set; }
        public int isFolt { get; set; }
        public string goodsPattern { get; set; }
        public string goodsColor { get; set; }
        public string craft { get; set; }
        public string goodsTextureName { get; set; }
        public string wareLocation { get; set; }
        public string goodsLightSpot { get; set; }
        public string shopCategory { get; set; }
        public string goodsMobileModel { get; set; }
        public string customerMobile { get; set; }
        public int presellType { get; set; }
        public string freightTemplate { get; set; }
        public int maximumPerOrder { get; set; }
        public int limitPerBuyer { get; set; }
        public int discount { get; set; }
        public class Otherinfo
        {
            public string 是否可降解 { get; set; }
            public string 是否使用环保材质 { get; set; }
            public string 是否支持5G信号 { get; set; }
            public int 视频id { get; set; }
        }

        public List<Materialfile> materialFile { get; set; } = new List<Materialfile>();
        public class Materialfile
        {
            public string materialType { get; set; }
            public List<Speclist> specList { get; set; } = new List<Speclist>();
        }

        public class Speclist
        {
            public string spec { get; set; }
            public string specModel { get; set; }
            public string tmSpecModel { get; set; }
            /// <summary>
            /// 拼单价
            /// </summary>
            public float price { get; set; }
            /// <summary>
            /// 单买价
            /// </summary>
            public float singlePrice { get; set; }
            /// <summary>
            /// 库存
            /// </summary>
            public int stockNum { get; set; }
            public float discount { get; set; }
            public string textureCode { get; set; }
            /// <summary>
            /// 预览图
            /// </summary>
            public string imageName { get; set; }
            public int hashCode { get; set; }
            public string vid { get; set; }
            public string skuCode { get; set; }
        }

        public class Modelcode
        {
            public string tianMaoApplyBrand { get; set; }
            public string tianMaoApplyModel { get; set; }
        }

         
    }



}
